package otaku.gateway.config;

import lombok.Data;
import otaku.gateway.core.DownstreamResponseFilter;
import otaku.gateway.core.UpstreamRequestFilter;
import otaku.gateway.core.UpstreamRequestMatcher;

import java.util.List;

/**
 * 代理服务器配置
 */
@Data
public class ServerConfig {
    private int port;
    private String localAddress;
    private List<UpstreamRequestMatcher> upstreamRequestMatchers;
    private List<UpstreamRequestFilter> upstreamRequestFilters;
    private List<DownstreamResponseFilter> downstreamResponseFilters;
}
